/*
 * XML Type:  XArea
 * Namespace: http://www.seedwill.com/xul/widget/
 * Java type: com.seedwill.xul.widget.XArea
 *
 * Automatically generated - do not modify.
 */
package com.seedwill.xul.widget;


/**
 * An XML XArea(@http://www.seedwill.com/xul/widget/).
 *
 * This is a complex type.
 */
public interface XArea extends com.seedwill.xul.core.XIdentified
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XArea.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s790E6810E76A77BB212DD6D4DA094898").resolveHandle("xarea7537type");
    
    /**
     * Gets the "type" element
     */
    java.lang.String getType();
    
    /**
     * Gets (as xml) the "type" element
     */
    org.apache.xmlbeans.XmlString xgetType();
    
    /**
     * Sets the "type" element
     */
    void setType(java.lang.String type);
    
    /**
     * Sets (as xml) the "type" element
     */
    void xsetType(org.apache.xmlbeans.XmlString type);
    
    /**
     * Gets the "sort" element
     */
    int getSort();
    
    /**
     * Gets (as xml) the "sort" element
     */
    org.apache.xmlbeans.XmlInt xgetSort();
    
    /**
     * True if has "sort" element
     */
    boolean isSetSort();
    
    /**
     * Sets the "sort" element
     */
    void setSort(int sort);
    
    /**
     * Sets (as xml) the "sort" element
     */
    void xsetSort(org.apache.xmlbeans.XmlInt sort);
    
    /**
     * Unsets the "sort" element
     */
    void unsetSort();
    
    /**
     * Gets the "align" element
     */
    com.seedwill.xul.core.XCellAlign.Enum getAlign();
    
    /**
     * Gets (as xml) the "align" element
     */
    com.seedwill.xul.core.XCellAlign xgetAlign();
    
    /**
     * True if has "align" element
     */
    boolean isSetAlign();
    
    /**
     * Sets the "align" element
     */
    void setAlign(com.seedwill.xul.core.XCellAlign.Enum align);
    
    /**
     * Sets (as xml) the "align" element
     */
    void xsetAlign(com.seedwill.xul.core.XCellAlign align);
    
    /**
     * Unsets the "align" element
     */
    void unsetAlign();
    
    /**
     * Gets the "mode" element
     */
    com.seedwill.xul.core.XAreaMode.Enum getMode();
    
    /**
     * Gets (as xml) the "mode" element
     */
    com.seedwill.xul.core.XAreaMode xgetMode();
    
    /**
     * True if has "mode" element
     */
    boolean isSetMode();
    
    /**
     * Sets the "mode" element
     */
    void setMode(com.seedwill.xul.core.XAreaMode.Enum mode);
    
    /**
     * Sets (as xml) the "mode" element
     */
    void xsetMode(com.seedwill.xul.core.XAreaMode mode);
    
    /**
     * Unsets the "mode" element
     */
    void unsetMode();
    
    /**
     * Gets the "layout" element
     */
    com.seedwill.xul.core.XTableLayout getLayout();
    
    /**
     * True if has "layout" element
     */
    boolean isSetLayout();
    
    /**
     * Sets the "layout" element
     */
    void setLayout(com.seedwill.xul.core.XTableLayout layout);
    
    /**
     * Appends and returns a new empty "layout" element
     */
    com.seedwill.xul.core.XTableLayout addNewLayout();
    
    /**
     * Unsets the "layout" element
     */
    void unsetLayout();
    
    /**
     * Gets the "label" element
     */
    com.seedwill.xul.widget.XLabel getLabel();
    
    /**
     * True if has "label" element
     */
    boolean isSetLabel();
    
    /**
     * Sets the "label" element
     */
    void setLabel(com.seedwill.xul.widget.XLabel label);
    
    /**
     * Appends and returns a new empty "label" element
     */
    com.seedwill.xul.widget.XLabel addNewLabel();
    
    /**
     * Unsets the "label" element
     */
    void unsetLabel();
    
    /**
     * Gets array of all "inputs" elements
     */
    com.seedwill.xul.widget.XInput[] getInputsArray();
    
    /**
     * Gets ith "inputs" element
     */
    com.seedwill.xul.widget.XInput getInputsArray(int i);
    
    /**
     * Returns number of "inputs" element
     */
    int sizeOfInputsArray();
    
    /**
     * Sets array of all "inputs" element
     */
    void setInputsArray(com.seedwill.xul.widget.XInput[] inputsArray);
    
    /**
     * Sets ith "inputs" element
     */
    void setInputsArray(int i, com.seedwill.xul.widget.XInput inputs);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "inputs" element
     */
    com.seedwill.xul.widget.XInput insertNewInputs(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "inputs" element
     */
    com.seedwill.xul.widget.XInput addNewInputs();
    
    /**
     * Removes the ith "inputs" element
     */
    void removeInputs(int i);
    
    /**
     * Gets array of all "buttons" elements
     */
    com.seedwill.xul.widget.XButton[] getButtonsArray();
    
    /**
     * Gets ith "buttons" element
     */
    com.seedwill.xul.widget.XButton getButtonsArray(int i);
    
    /**
     * Returns number of "buttons" element
     */
    int sizeOfButtonsArray();
    
    /**
     * Sets array of all "buttons" element
     */
    void setButtonsArray(com.seedwill.xul.widget.XButton[] buttonsArray);
    
    /**
     * Sets ith "buttons" element
     */
    void setButtonsArray(int i, com.seedwill.xul.widget.XButton buttons);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "buttons" element
     */
    com.seedwill.xul.widget.XButton insertNewButtons(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "buttons" element
     */
    com.seedwill.xul.widget.XButton addNewButtons();
    
    /**
     * Removes the ith "buttons" element
     */
    void removeButtons(int i);
    
    /**
     * Gets array of all "children" elements
     */
    com.seedwill.xul.widget.XArea[] getChildrenArray();
    
    /**
     * Gets ith "children" element
     */
    com.seedwill.xul.widget.XArea getChildrenArray(int i);
    
    /**
     * Returns number of "children" element
     */
    int sizeOfChildrenArray();
    
    /**
     * Sets array of all "children" element
     */
    void setChildrenArray(com.seedwill.xul.widget.XArea[] childrenArray);
    
    /**
     * Sets ith "children" element
     */
    void setChildrenArray(int i, com.seedwill.xul.widget.XArea children);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "children" element
     */
    com.seedwill.xul.widget.XArea insertNewChildren(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "children" element
     */
    com.seedwill.xul.widget.XArea addNewChildren();
    
    /**
     * Removes the ith "children" element
     */
    void removeChildren(int i);
    
    /**
     * Gets array of all "inputUnits" elements
     */
    com.seedwill.xul.widget.XInputUnit[] getInputUnitsArray();
    
    /**
     * Gets ith "inputUnits" element
     */
    com.seedwill.xul.widget.XInputUnit getInputUnitsArray(int i);
    
    /**
     * Returns number of "inputUnits" element
     */
    int sizeOfInputUnitsArray();
    
    /**
     * Sets array of all "inputUnits" element
     */
    void setInputUnitsArray(com.seedwill.xul.widget.XInputUnit[] inputUnitsArray);
    
    /**
     * Sets ith "inputUnits" element
     */
    void setInputUnitsArray(int i, com.seedwill.xul.widget.XInputUnit inputUnits);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "inputUnits" element
     */
    com.seedwill.xul.widget.XInputUnit insertNewInputUnits(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "inputUnits" element
     */
    com.seedwill.xul.widget.XInputUnit addNewInputUnits();
    
    /**
     * Removes the ith "inputUnits" element
     */
    void removeInputUnits(int i);
    
    /**
     * Gets the "category" element
     */
    com.seedwill.xul.widget.XAreaCategoryType.Enum getCategory();
    
    /**
     * Gets (as xml) the "category" element
     */
    com.seedwill.xul.widget.XAreaCategoryType xgetCategory();
    
    /**
     * True if has "category" element
     */
    boolean isSetCategory();
    
    /**
     * Sets the "category" element
     */
    void setCategory(com.seedwill.xul.widget.XAreaCategoryType.Enum category);
    
    /**
     * Sets (as xml) the "category" element
     */
    void xsetCategory(com.seedwill.xul.widget.XAreaCategoryType category);
    
    /**
     * Unsets the "category" element
     */
    void unsetCategory();
    
    /**
     * Gets the "absSize" element
     */
    com.seedwill.xul.core.XSize getAbsSize();
    
    /**
     * True if has "absSize" element
     */
    boolean isSetAbsSize();
    
    /**
     * Sets the "absSize" element
     */
    void setAbsSize(com.seedwill.xul.core.XSize absSize);
    
    /**
     * Appends and returns a new empty "absSize" element
     */
    com.seedwill.xul.core.XSize addNewAbsSize();
    
    /**
     * Unsets the "absSize" element
     */
    void unsetAbsSize();
    
    /**
     * Gets the "absLocation" element
     */
    com.seedwill.xul.core.XLocation getAbsLocation();
    
    /**
     * True if has "absLocation" element
     */
    boolean isSetAbsLocation();
    
    /**
     * Sets the "absLocation" element
     */
    void setAbsLocation(com.seedwill.xul.core.XLocation absLocation);
    
    /**
     * Appends and returns a new empty "absLocation" element
     */
    com.seedwill.xul.core.XLocation addNewAbsLocation();
    
    /**
     * Unsets the "absLocation" element
     */
    void unsetAbsLocation();
    
    /**
     * Gets the "layoutData" element
     */
    com.seedwill.xul.core.XGridLayoutData getLayoutData();
    
    /**
     * True if has "layoutData" element
     */
    boolean isSetLayoutData();
    
    /**
     * Sets the "layoutData" element
     */
    void setLayoutData(com.seedwill.xul.core.XGridLayoutData layoutData);
    
    /**
     * Appends and returns a new empty "layoutData" element
     */
    com.seedwill.xul.core.XGridLayoutData addNewLayoutData();
    
    /**
     * Unsets the "layoutData" element
     */
    void unsetLayoutData();
    
    /**
     * Gets the "formId" element
     */
    java.lang.String getFormId();
    
    /**
     * Gets (as xml) the "formId" element
     */
    org.apache.xmlbeans.XmlString xgetFormId();
    
    /**
     * True if has "formId" element
     */
    boolean isSetFormId();
    
    /**
     * Sets the "formId" element
     */
    void setFormId(java.lang.String formId);
    
    /**
     * Sets (as xml) the "formId" element
     */
    void xsetFormId(org.apache.xmlbeans.XmlString formId);
    
    /**
     * Unsets the "formId" element
     */
    void unsetFormId();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static com.seedwill.xul.widget.XArea newInstance() {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.seedwill.xul.widget.XArea newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.seedwill.xul.widget.XArea parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.seedwill.xul.widget.XArea parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.seedwill.xul.widget.XArea parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.seedwill.xul.widget.XArea parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.seedwill.xul.widget.XArea parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.seedwill.xul.widget.XArea parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.seedwill.xul.widget.XArea parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.seedwill.xul.widget.XArea parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.seedwill.xul.widget.XArea parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.seedwill.xul.widget.XArea parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.seedwill.xul.widget.XArea parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.seedwill.xul.widget.XArea parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.seedwill.xul.widget.XArea parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.seedwill.xul.widget.XArea parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.widget.XArea parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.widget.XArea parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.widget.XArea) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
